package org.wuyichun.course.service;

import org.wuyichun.base.service.IBaseService;
import org.wuyichun.course.domain.Comment;

import java.util.List;
import java.util.Map;

public interface ICommentService extends IBaseService<Comment> {

    void add(Comment comment);

    List<Comment> getCommentByCourseId(Long id);

    void replyComment(Map<String, Object> map);

    void deleteComment(Long id);

    void deleteReply(Map<String, Object> map);
}
